
export const imgs = [
  {
    url: require("@/static/img/a1.png"),
    name: "a1"
  },
  {
    url: require("@/static/img/a2.png"),
    name: "a2"
  },
  {
    url: require("@/static/img/a3.png"),
    name: "a3"
  },
  {
    url: require("@/static/img/a4.png"),
    name: "a4"
  },
  {
    url: require("@/static/img/a6.png"),
    name: "a6"
  },
  {
    url: require("@/static/img/a7.png"),
    name: "a7"
  },
  {
    url: require("@/static/img/a8.png"),
    name: "a8"
  },
  {
    url: require("@/static/img/a9.png"),
    name: "a9"
  },
  {
    url: require("@/static/img/a10.png"),
    name: "a10"
  },
  {
    url: require("@/static/img/a11.png"),
    name: "a11"
  },
  {
    url: require("@/static/img/a12.png"),
    name: "a12"
  },
  {
    url: require("@/static/img/a13.png"),
    name: "a13"
  },
  {
    url: require("@/static/img/a14.png"),
    name: "a14"
  },
  {
    url: require("@/static/img/a15.png"),
    name: "a15"
  },
  {
    url: require("@/static/img/a17.png"),
    name: "a17"
  },
]

export const colors = ["#FCC3B9", "#FCD7CB", "#F9E3DD", "#F7EBEB", "#E8E8E4", "#D7E1D9", "#ECE2DA", "#DBCDEF", "#E7E6E9", "#FCEDCB", "#F5F4F9"]

export const getImg = (name = "") => {
  if (!name) return imgs[0]?.url
  const url = imgs.find(item => item.name === name)?.url
  if (!url) return imgs[0]?.url
  return url
}

